﻿using LeopardAOP.Aspects;
using LeopardAOP.Sample.TestData;

namespace LeopardAOP.Sample.Logging
{
    internal class TestRepository : AspectDynamicMetaObjectProvider
    {
        [LoggingAspect] // added a login aspect
        public void Save(TestEntity entity)
        {
            entity.Name = "Mark";
            entity.Number = 250;
        }
    }
}
